package bean;

public class Person extends Animal{
	private String name;
	public Person(String name) {
		super(name);
	}
	public void earn() {
		System.out.println(this.name+"...earn....");
	}
}
